From: Brion Vibber Date: Sat, 17 Sep 2005 07:33:51 +0000 (+0000) Subject: woops typo in last fix X-Git-Tag: 1.6.0~1625 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=5757a798fe116ebefb2045576257b95fe35e0292;p=lhc%2Fweb%2Fwiklou.git woops typo in last fix --- diff --git a/maintenance/rebuildrecentchanges.inc b/maintenance/rebuildrecentchanges.inc index 42e86029a4..ed742e4a00 100644 --- a/maintenance/rebuildrecentchanges.inc +++ b/maintenance/rebuildrecentchanges.inc @@ -72,7 +72,7 @@ function rebuildRecentChangesTablePass2() "AND rev_timestamp<'{$emit}' ORDER BY rev_timestamp DESC LIMIT 1"; $res2 = $dbw->query( $sql2 ); if( $row = $dbw->fetchObject( $res2 ) ) { - $lastOldId = intval( $row->old_id ); + $lastOldId = intval( $row->rev_id ); } else { # No previous edit $lastOldId = 0;